﻿using Cocbook_DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale_and_manage
{
    public class Order_BookView
    {
        public Int64 ISBN { get; set; }
        public string Title { get; set; }
        public double Price { get; set; }
        public double Discount { get; set; }
        public int Copy { get; set; }

        public Order_BookView(Order_Book order_book)
        {
            ISBN = order_book.Book.ISBN;
            Title = order_book.Book.Title;
            Price = order_book.Book.Price;
            Discount = order_book.Discount;
            Copy = order_book.Copy; 
        }
    }
}
